package com.googlecode.tinyjava.symboltable;

public class Method extends Scope {
	
	/**
	 * @uml.property  name="returnType"
	 */
	String returnType;

	public Method(String name, String returnType) {
		super(name);
		this.returnType = returnType;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return returnType + " " + super.toString() + "()";
	}

}
